Developer Documentation

QuickTime 4 API Documentation
QuickTime Music Architecture

| Previous | Chapter Contents | Chapter Top | Next |

Flags for Setting Atomic Instruments

These flags specify details of initializing a part with an atomic instrument and are passed to the MusicSetPartAtomicInstrument function [link] .

enum {
    kSetAtomicInstKeepOriginalInstrument    = 1 << 0,
    kSetAtomicInstShareAcrossParts          = 1 << 1,
    kSetAtomicInstCallerTosses              = 1 << 2,
    kSetAtomicInstDontPreprocess            = 1 << 7
};

Constant descriptions

kSetAtomicInstKeepOriginalInstrument
Keep original sample after expansion.

kSetAtomicInstShareAcrossParts
Remove the instrument when the application quits.

kSetAtomicInstCallerTosses
The caller isn't keeping a copy of the atomic instrument for later calls to NASetAtomicInstrument .

kSetAtomicInstDontPreprocess
Don't expand the sample. You would only set this bit if you know the instrument is digitally clean or you got it from a MusicGetPartAtomicInstrument call [link] .


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |